package com.mobisys.live.response;

/**
 * Created by zhuo on 2018-01-16.
 */
public class Response<T extends Object> {
    private int retureValue;
    private String retureMsg;
    private T retureData;

    public Response() {
    }

    public Response(int retureValue, String retureMsg, T retureData) {
        this.retureValue = retureValue;
        this.retureMsg = retureMsg;
        this.retureData = retureData;
    }

    public int getRetureValue() {
        return retureValue;
    }

    public void setRetureValue(int retureValue) {
        this.retureValue = retureValue;
    }

    public String getRetureMsg() {
        return retureMsg;
    }

    public void setRetureMsg(String retureMsg) {
        this.retureMsg = retureMsg;
    }

    public T getRetureData() {
        return retureData;
    }

    public void setRetureData(T retureData) {
        this.retureData = retureData;
    }

    @Override
    public String toString() {
        return "Response{" +
                "retureValue=" + retureValue +
                ", retureMsg='" + retureMsg + '\'' +
                ", retureData=" + retureData +
                '}';
    }
}
